/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 2 -3 0 0 0 0];

#include        "include/initialConditions"

internalField   uniform $turbulentEpsilon;

boundaryField
{
    #include "include/ABLConditions"

    "terrain_.*"
    {
        type            epsilonWallFunction;
        kappa           0.4;
	Cmu 		0.03;
        E               9.8;
        value           $internalField;
    }
    outlet
    {
        type            zeroGradient;
    }
    inlet
    {
        type            atmBoundaryLayerInletEpsilon;
        Ustar           $Ustar;
        Uref            $Uref;
        Href            $Href;
        z               $zDirection;
        z0              $z0;
        value           $internalField;
        zGround         $zGround;
	kappa		0.4;
    }

    top
    {
        type            atmBoundaryLayerInletEpsilon;
        Ustar           $Ustar;
        Uref            $Uref;
        Href            $Href;
        z               $zDirection;
        z0              $z0;
        value           $internalField;
        zGround         $zGround;
	kappa 		0.4;
    }

    ground
    {
        type            epsilonWallFunction;
        kappa           0.4;
	Cmu 		0.03;
        E               9.8;
        value           $internalField;
    }

    #include "include/sideAndTopPatches"
}


// ************************************************************************* //
